X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/blobdiff_plain/7b4f0f2ee1a981baf22decc9cf330087c249c8d2..73d4a06bb3f8a4880fbfeb2a055f5e881f138961:/autohotkey/UltimateKEYS%20(for%20AutoHotkey%20v2).ahk?ds=sidebyside diff --git a/autohotkey/UltimateKEYS (for AutoHotkey v2).ahk b/autohotkey/UltimateKEYS (for AutoHotkey v2).ahk index 64a39c6..6d96097 100644 --- a/autohotkey/UltimateKEYS (for AutoHotkey v2).ahk +++ b/autohotkey/UltimateKEYS (for AutoHotkey v2).ahk @@ -1,6 +1,6 @@ #requires AutoHotkey v2 -; UltimateKEYS (for AutoHotkey v2).ahk - 2025-03-10 +; UltimateKEYS (for AutoHotkey v2).ahk ; Website : https://pieter-degroote.github.io/UltimateKEYS/ @@ -851,6 +851,8 @@ compose["s!"] := "{u+203c}" ; (‼) double exclamation mark compose["s?"] := "{u+2e2e}" ; (⸮) reversed question mark compose["s/"] := "{u+205e}" ; (⁞) vertical four dots compose["s|"] := "{u+00a6}" ; (¦) broken bar +compose["s["] := "{u+2045}" ; (⁅) left square bracket with quill +compose["s]"] := "{u+2046}" ; (⁆) right square bracket with quill ; Compose : Math Symbols @@ -1288,15 +1290,15 @@ compose["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below ; Key : 2 >!sc003:: -<^>!sc003::Send "{u+2264}" ; (≤) less-than or equal to +<^>!sc003::Send "{u+00b2}" ; (²) superscript 2 >!+sc003:: -<^>!+sc003::Send "{u+00b2}" ; (²) superscript 2 +<^>!+sc003::Send "{u+266b}" ; (♫) beamed eighth notes ; Key : 3 >!sc004:: -<^>!sc004::Send "{u+2265}" ; (≥) greater-than or equal to +<^>!sc004::Send "{u+00b3}" ; (³) superscript 3 >!+sc004:: -<^>!+sc004::Send "{u+00b3}" ; (³) superscript 3 +<^>!+sc004::Send "{u+00a7}" ; (§) section sign ; Key : 4 >!sc005:: @@ -1314,39 +1316,39 @@ compose["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below >!sc007:: <^>!sc007:: { if GetKeyState("CapsLock", "T") - Send "{u+00c3}" ; (Ã) A with tilde + Send "{u+00cd}" ; (Í) I with acute else - Send "{u+00e3}" ; (ã) a with tilde + Send "{u+00ed}" ; (í) i with acute } >!+sc007:: <^>!+sc007:: { if GetKeyState("CapsLock", "T") - Send "{u+00e3}" ; (ã) a with tilde + Send "{u+00ed}" ; (í) i with acute else - Send "{u+00c3}" ; (Ã) A with tilde + Send "{u+00cd}" ; (Í) I with acute } ; Key : 7 >!sc008:: <^>!sc008:: { if GetKeyState("CapsLock", "T") - Send "{u+00d5}" ; (Õ) O with tilde + Send "{u+00cc}" ; (Ì) I with grave else - Send "{u+00f5}" ; (õ) o with tilde + Send "{u+00ec}" ; (ì) i with grave } >!+sc008:: <^>!+sc008:: { if GetKeyState("CapsLock", "T") - Send "{u+00f5}" ; (õ) o with tilde + Send "{u+00ec}" ; (ì) i with grave else - Send "{u+00d5}" ; (Õ) O with tilde + Send "{u+00cc}" ; (Ì) I with grave } ; Key : 8 >!sc009:: <^>!sc009::Send "{u+201e}" ; („) double low-9 quotation mark >!+sc009:: -<^>!+sc009::Send "{u+00a7}" ; (§) section sign +<^>!+sc009::Send "{u+266a}" ; (♪) eighth note ; Key : 9 >!sc00A:: @@ -1690,15 +1692,35 @@ compose["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below ; Key : ; / : (semicolon / colon) >!sc027:: -<^>!sc027::Send "{u+00b0}" ; (°) degree sign +<^>!sc027:: { + if GetKeyState("CapsLock", "T") + Send "{u+00d3}" ; (Ó) O with acute + else + Send "{u+00f3}" ; (ó) o with acute +} >!+sc027:: -<^>!+sc027::Send "{u+00b7}" ; (·) middle dot +<^>!+sc027:: { + if GetKeyState("CapsLock", "T") + Send "{u+00f3}" ; (ó) o with acute + else + Send "{u+00d3}" ; (Ó) O with acute +} ; Key : ' / " (apostrophe / quotation mark) >!sc028:: -<^>!sc028::Send "{u+266a}" ; (♪) eighth note +<^>!sc028:: { + if GetKeyState("CapsLock", "T") + Send "{u+00d2}" ; (Ò) O with grave + else + Send "{u+00f2}" ; (ò) o with grave +} >!+sc028:: -<^>!+sc028::Send "{u+266b}" ; (♫) beamed eighth notes +<^>!+sc028:: { + if GetKeyState("CapsLock", "T") + Send "{u+00f2}" ; (ò) o with grave + else + Send "{u+00d2}" ; (Ò) O with grave +} ; Key : \ / | (backslash / vertical line) >!sc02B:: @@ -1758,32 +1780,32 @@ compose["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below >!sc02F:: <^>!sc02F:: { if GetKeyState("CapsLock", "T") - Send "{u+00cd}" ; (Í) I with acute + Send "{u+00c3}" ; (Ã) A with tilde else - Send "{u+00ed}" ; (í) i with acute + Send "{u+00e3}" ; (ã) a with tilde } >!+sc02F:: <^>!+sc02F:: { if GetKeyState("CapsLock", "T") - Send "{u+00ed}" ; (í) i with acute + Send "{u+00e3}" ; (ã) a with tilde else - Send "{u+00cd}" ; (Í) I with acute + Send "{u+00c3}" ; (Ã) A with tilde } ; Key : B >!sc030:: <^>!sc030:: { if GetKeyState("CapsLock", "T") - Send "{u+00cc}" ; (Ì) I with grave + Send "{u+00d5}" ; (Õ) O with tilde else - Send "{u+00ec}" ; (ì) i with grave + Send "{u+00f5}" ; (õ) o with tilde } >!+sc030:: <^>!+sc030:: { if GetKeyState("CapsLock", "T") - Send "{u+00ec}" ; (ì) i with grave + Send "{u+00f5}" ; (õ) o with tilde else - Send "{u+00cc}" ; (Ì) I with grave + Send "{u+00d5}" ; (Õ) O with tilde } ; Key : N @@ -1810,35 +1832,15 @@ compose["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below ; Key : , / < (comma / less-than sign) >!sc033:: -<^>!sc033:: { - if GetKeyState("CapsLock", "T") - Send "{u+00d3}" ; (Ó) O with acute - else - Send "{u+00f3}" ; (ó) o with acute -} +<^>!sc033::Send "{u+00b0}" ; (°) degree sign >!+sc033:: -<^>!+sc033:: { - if GetKeyState("CapsLock", "T") - Send "{u+00f3}" ; (ó) o with acute - else - Send "{u+00d3}" ; (Ó) O with acute -} +<^>!+sc033::Send "{u+2264}" ; (≤) less-than or equal to ; Key : . / > (period / greater-than sign) >!sc034:: -<^>!sc034:: { - if GetKeyState("CapsLock", "T") - Send "{u+00d2}" ; (Ò) O with grave - else - Send "{u+00f2}" ; (ò) o with grave -} +<^>!sc034::Send "{u+00b7}" ; (·) middle dot >!+sc034:: -<^>!+sc034:: { - if GetKeyState("CapsLock", "T") - Send "{u+00f2}" ; (ò) o with grave - else - Send "{u+00d2}" ; (Ò) O with grave -} +<^>!+sc034::Send "{u+2265}" ; (≥) greater-than or equal to ; Key : / / ? (slash / question mark) >!sc035::